#include "../src/common.h"
#include "../src/effects/convoluation.hpp"

int main () {

	WINDOW window (800, 600);
	IMAGE pic (window, "./res/test.jpg");
	
	// xege::convoluation::init ();
	xege::convoluation::gksi (10);
	xege::convoluation::copyImage (&pic);
	xege::convoluation::calc (&pic);

	// for (int a = 0,b; a < 100; a ++) {
	// 	for (b = 0; b < 100; b++) {
	// 		pic.drawPixel (a, b);
	// 	}
	// }

	pic.putImage (0, 0);
	window.updateTexture ();
	window.update ();
	getchar ();
	return 0;
}